package com.shanwen.select.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shanwen.select.entity.AdminUser;
import com.shanwen.select.entity.Menu;

import java.util.List;

public interface MenuMapper extends BaseMapper<Menu> {

    List<String> getPermissions(AdminUser user);

    List<Menu> getMenuList(Integer roleId);

    List<Menu> getRoleMenuList(Integer roleId);

}
